package com.dcy.feign;

import com.dcy.common.model.ResponseData;
import org.springframework.stereotype.Component;

/**
 * @Auther: dcy
 * @Date: 2019/3/25 09:15
 * @Description:
 */
@Component
public class TestServiceFallback implements TestService {
    @Override
    public ResponseData sayHello(String name) {
        return ResponseData.error("响应错误");
    }
}
